﻿using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using COFE.Core;

namespace COFE.Core
{
    /// <summary>
    /// Represent a file in filesystem.
    /// A number of extension methods is implemented by IFileInfoExAExtension.
    /// </summary>
    public interface IFileInfo : IFileSystemInfo
    {

        new IInternalFileInfoExA InternalProperties { get; }

        /// <summary>
        /// Gets the string representing the extension part of the current file.
        /// </summary>
        string Extension { get; }

        /// <summary>
        /// Gets the size of the file.
        /// </summary>
        long Length { get; }

        /// <summary>
        /// Return the CRC code of the current file.
        /// </summary>
        string CRC { get; }

        

        /// <summary>
        /// 
        /// </summary>
        /// <param name="destFileName"></param>
        void MoveTo(string destFileName);
        
    }
}
